<?php $this->load->view('layout/jingqu/header');?>
<div class="order-page screen-width clearfix">
    <div class="order-left">
        <?php $this->load->view('layout/jingqu/leftmenu');?>
    </div>
    <div class="order-right">
        <div class="your-choice">
            <h5><?php echo $this->aliasName;?></h5>
            <div class="sale-search clearfix">
                <form action="<?php echo base_url('user/inquiry') ?>" method="get">
                    <table class="sale-table table">
                        <tr>
                            <td>
                                <h6>用户名称</h6>
                                <input type="text" name="user_name" value="<?php echo $this->input->get('user_name');?>" placeholder="请输入完整的用户名称">
                            </td>
                            <td>
                                <h6>用户昵称</h6>
                                <input type="text" name="alias_name" value="<?php echo $this->input->get('alias_name');?>" placeholder="请输入完整的用户昵称">
                            </td>
                        </tr>
                    </table>
                    <div class="comment-press-button clearfix">
                        <button type="submit" class="btn-com button-submit">立即查询</button>
                    </div>
                </form>
            </div>
        </div>
        <?php if (isset($all_rows) && $all_rows > 0):?>
            <table class="gain-table table">
                <thead>
                    <tr>
                        <th class="lith-name">用户UID</th>
                        <th class="lith-name">用户名称</th>
                        <th class="lith-data">用户昵称</th>
                        <th class="lith-scenic">用户类型</th>
                        <th class="lith-handle">注册时间</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach ($page_list->result() as $item):?>
                    <tr>
                        <td><?php echo $item->uid;?></td>
                        <td><?php echo $item->user_name;?></td>
                        <td><?php echo $item->alias_name;?></td>
                        <td><?php $userInfo = $currentThis->usertype($item->user_type); echo $userInfo['type_zh'] ?></td>
                        <td><?php echo $item->created_at;?></td>
                    </tr>
                    <?php endforeach;?>
                </tbody>
            </table>
            <?php $this->load->view('layout/pagination') ?>
        <?php else : ?>
            <div class="no-data">
                <img src="skins/images/panda.jpg"/>
                <p>没有搜索到结果</p>
            </div>
        <?php endif;?>
    </div>
</div>
<?php $this->load->view('layout/jingqu/footer');?>